home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000280_news@newsmaster….columbia.edu _Thu Mar 5 15:59:10 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA24329
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Mar 1998 15:59:10 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA15225
for kermit.misc@watsun; Thu, 5 Mar 1998 15:59:09 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Catching errors with line or modem ?
Date: 5 Mar 1998 20:59:07 GMT
Organization: Columbia University
Lines: 56
Message-ID: <6dn3mr$9s2$1@apakabar.cc.columbia.edu>
References: <6dmcvi$ats$1@horus.mch.sni.de>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8473
In article <6dmcvi$ats$1@horus.mch.sni.de>,
Michel Dalle <Michel.Dalle@sni.be> wrote:
: Hi again,
:
: My environment :
: - Windows NT 4.0
: - Kermit 95 v1.1.15 (and v1.1.16beta)
: - "Standard 28800 bps modem" defined on COM1 (TAPI) for serial connection,
: with just the default configuration options
: - there is NO actual modem attached to COM1!!! (or it is switched off)
:
: My basic script :
: set tapi line
: if fail echo TAPI failed
:
: input 10 {blabla }
: if fail echo Input failed with status \v(instatus)
:
: output \13\10
: if fail echo Output failed
:
: What happens :
: - set tapi line : never fails. --> NOT CORRECT !?
SET TAPI LINE fails if the device to which you are attempting to attach
is either in use or is known to Windows to be not installed in the machine.
For an external modem, this would be only if the serial port did not exist.
Plug and Play devices will fail if they are not installed or turned off.
: - input 10 {blabla } : fails.
: In v1.1.15, \v(instatus) is 1 (= Timed out). --> NOT CORRECT
: In v1.1.16beta, \v(instatus) is 3 (= Internal error), and Kermit shows me
: '?Connection to Standard 28800 bps Modem is not open'
1.1.16 is the proper behavior.
: - output \13\10 : never fails. --> NOT CORRECT !?
This is a bug that has now been fixed in 1.1.16.
: (the same thing happens if I try "set line com1" instead of "set tapi line")
Because the serial port accepts the data.
: How can I, in this script, detect that there is a MODEM problem, rather than
: that the other side never sent me 'blabla ' ? The only clue I have is in
: v1.1.16beta, with the "internal error" status. But shouldn't the 'tapi' and
: the 'output' also fail ???
output 'yes', tapi 'no.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025 * (212) 854-1344
http://www.columbia.edu/kermit/k95.html * kermit-support@columbia.edu